import Vue from 'vue'
import Router from 'vue-router'
import shop from '@/components/shop'
import ceshi from '@/components/ceshi'
import HelloWorld from '@/components/HelloWorld'
import info from '@/components/info'
import shop_find from '@/components/shop_find'
import shop_type from '@/components/shop_type'
import shop_find_result from '@/components/shop_find_result'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'shop',
      component: shop
    },
    {
      path: '/ceshi',
      name: 'ceshi',
      component: ceshi
    },{
      path: '/info',
      name: 'info',
      component: info
    },{
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/shop_find',
      name: 'shop_find',
      component: shop_find
    },
    {
      path: '/shop_type',
      name: 'shop_type',
      component: shop_type
    },
    {
      path: '/shop_find_result',
      name: 'shop_find_result',
      component: shop_find_result
    }
  ]
})
